
/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

资源编排
资源编排

OpenAPI spec version: v1
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/

#import <Foundation/Foundation.h>

#import <JDCloudOCSDKJdro/JdroExecutor.h>


/// 查询资源栈列表
@implementation  JdroDescribeStacksExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/stacks";
    return self;
}
@end

/// 查询资源栈事件列表
@implementation  JdroDescribeStackEventsExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/stacks/{stackId}/events";
    return self;
}
@end

/// 查询资源栈中资源列表
@implementation  JdroDescribeStackResourcesExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/stacks/{stackId}/resources";
    return self;
}
@end

/// 创建更改集
@implementation  JdroCreateChangeSetExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/stacks/{stackId}/changesets";
    return self;
}
@end

/// 创建资源栈
@implementation  JdroCreateStackExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/stacks";
    return self;
}
@end

/// 查询资源栈详情
@implementation  JdroDescribeStackExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/stacks/{stackId}";
    return self;
}
@end

/// 查询资源栈使用的模板
@implementation  JdroDescribeStackTemplateExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/stacks/{stackId}/template";
    return self;
}
@end

/// 执行更改集
@implementation  JdroExecuteChangeSetExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/stacks/{stackId}/changesets/{changesetId}";
    return self;
}
@end

/// 删除资源栈
@implementation  JdroDeleteStackExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/stacks/{stackId}";
    return self;
}
@end

/// 模板校验
@implementation  JdroValidateTemplateExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/templateValidate";
    return self;
}
@end

/// 查询支持的资源结构详情
@implementation  JdroDescribeResourceTypeSpecificationExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/resourcetypes/{resourceType}";
    return self;
}
@end

/// 查询支持的资源列表
@implementation  JdroDescribeResourceTypeListExecutor

-(id) initWithJDCloudClient:(JdroClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/resourcetypes";
    return self;
}
@end
